/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controllers.validation;

/**
 *
 * @author Anthares
 */
public class EmailValidator extends Validator {

    private static final String EMAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
   
    public EmailValidator() {
        super(EMAIL_PATTERN);
    }

    private EmailValidator(String regex) {
        super(regex);
    }
    
}
